package com.th.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;


@Data
@ApiModel("企业订单表")
@TableName("us_order")
public class UsOrder {


    @ApiModelProperty("订单id")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("发起订单的企业用户id")
    private Long userId;

    @ApiModelProperty("订单的标题")
    private String title;

    @ApiModelProperty("订单的状态：1待处理，2进行中，3已完成")
    private Integer status;

    @ApiModelProperty("订单的总金额")
    private Integer amount;

    @ApiModelProperty("订单的定金")
    private Integer deposit;

    @ApiModelProperty("订单完成的截止时间")
    private Date deadline;

    @ApiModelProperty("订单创建时间")
    private Date createTime;

    @ApiModelProperty("订单更新时间")
    private Date updateTime;

}
